{% extends "base.html" %}
{% load url from future %}

{% block content %}

    <h2>Change credentials</h2>

    {% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
    {% endif %}

    <form action="/accounts/credentials/" method="post">
    {% csrf_token %}

        <table>
            {{ form.as_table }}
        </table>
        <input type="submit" value="Submit">
    </form>

{% endblock %}
